﻿<Window x:Class="TournamentOrganizerWPF.MatchListWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="MatchList" Height="445.526" Width="938.422">
    <Grid>
        
        <Label BorderThickness="2" BorderBrush="Black" Content="Aktive Matches" FontSize="16" HorizontalAlignment="Left" Margin="10,46,0,0" VerticalAlignment="Top" Width="123" Height="44"/>
        <Label BorderThickness="2" BorderBrush="Black" Content="Player 1 CP" HorizontalAlignment="Left" Height="31" Margin="628,161,0,0" VerticalAlignment="Top" Width="79"/>
        <Label BorderThickness="2" BorderBrush="Black" Content="PLayer 2 CP" HorizontalAlignment="Left" Height="31" Margin="816,161,0,0" VerticalAlignment="Top" Width="83" RenderTransformOrigin="0.398,-0.619"/>
        <Label BorderThickness="2" BorderBrush="Black" Name="SelectedMatch" Content="" HorizontalAlignment="Left" Height="41" Margin="628,97,0,0" VerticalAlignment="Top" Width="271"/>
        <TextBox Name="Player1CP" Height="23" Margin="628,219,0,0" TextWrapping="Wrap" VerticalAlignment="Top" HorizontalAlignment="Left" Width="79"/>
        <TextBox Name="Player2CP" HorizontalAlignment="Left" Height="23" Margin="816,219,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="83"/>
        <Button FontSize="16" Click="ReportResult" Content="Report Result" HorizontalAlignment="Left" Margin="665,335,0,0" VerticalAlignment="Top" Width="209" Height="37"/>
        <CheckBox Name="WinnerPLayer1CheckBox"  Content="Winner" HorizontalAlignment="Left" Margin="628,258,0,0" VerticalAlignment="Top" Width="79"/>
        <CheckBox Name="WinnerPLayer2CheckBox" Content="Winner" HorizontalAlignment="Left" Margin="821,258,0,0" VerticalAlignment="Top" Width="78"/>
        <Label Content="Selected Match" BorderThickness="2" BorderBrush="Black" FontSize="18" HorizontalContentAlignment="Center" HorizontalAlignment="Left" Margin="628,46,0,0" VerticalAlignment="Top" Width="271" Height="44"/>
        <Label Name="WarningLabel" Content="" HorizontalAlignment="Left" Margin="665,304,0,0" VerticalAlignment="Top" Width="206"/>
        <DataGrid IsReadOnly="True" ItemsSource="{Binding ActiveMatches}" Name="ActiveMatches" MouseDoubleClick="ActiveMatchesMouseDown" HorizontalAlignment="Left" Margin="10,97,0,0" VerticalAlignment="Top" Height="275" Width="608" RenderTransformOrigin="0.5,0.5">
            <DataGrid.RenderTransform>
                <TransformGroup>
                    <ScaleTransform/>
                    <SkewTransform AngleY="0.436"/>
                    <RotateTransform/>
                    <TranslateTransform Y="2.231"/>
                </TransformGroup>
            </DataGrid.RenderTransform>
        </DataGrid>

    </Grid>
</Window>
